package main

import "fmt"

//指针|https://www.bilibili.com/video/BV1gf4y1r79E?p=10
func main() {
	a := 15
	fmt.Println(a)
	changeValue(&a)
	fmt.Println(a)
}

func changeValue(p *int) {
	*p = 10
}
